<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="f"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ page session="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Spring 3.0 MVC Series: Hello World</title>
</head>
<body>
<f:form method="post" action="searchJobs" modelAttribute="searchQuery">
            <table>
                <tr>
                    
                    <td><f:select path="userId">
   						<f:option label="name" value="id"/>
  						 <f:options items="${users}"/>
 						</f:select>
 					</td>
                </tr>
                <tr>
                    <td><f:label path="routeId">Route</f:label></td>
                    <td><f:input path="routeId" /></td>
                </tr>
                <tr>
                	<td><c:out value="${dataXML}"></c:out></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" value="Search"/>
                    </td>
                </tr>
            </table>
        </f:form>
</body>
</html>
